package com.pignest.hotel.dao;

import java.util.List;

import com.pignest.framework.dao.Dao;
import com.pignest.hotel.beans.Member;

public interface MemberDao extends Dao {
	public List<Member> query(final String name, final String mobile,final List<String> sex,final List<String> type,final String mail,final String cardNo);
	/**
	 * 计算当前会员余额
	 * ***/
	 public int queryMemberBalance(Member member);
	 
	 /**查询单个会员*/
	 public Member queryMember(String name,String cardNo,String mobile,String sex,String cerNo );
	 
	 /***计算会员历史消费总额*/
	 public int countMemberHistoryUsed(Member m,boolean isPositive);
	 
	 public List<Member> listMembers(String name, String cardNo, String phone, int pageSize, int pageIndex);
}
